@REM 停止旧jar包
ssh root@8.130.164.63 sh /home/satisfactory/backend/run.sh stop;

@REM 删除旧jar包
ssh root@8.130.164.63 sh /home/satisfactory/backend/clean.sh;

@REM 上传jar包
scp eureka\target\eureka-1.0-SNAPSHOT.jar root@8.130.164.63:/home/satisfactory/backend;
scp log\target\log-1.0-SNAPSHOT.jar root@8.130.164.63:/home/satisfactory/backend;
scp gateway\target\gateway-1.0-SNAPSHOT.jar root@8.130.164.63:/home/satisfactory/backend;
scp game\target\game-1.0-SNAPSHOT.jar root@8.130.164.63:/home/satisfactory/backend;
scp system\target\system-1.0-SNAPSHOT.jar root@8.130.164.63:/home/satisfactory/backend;

@REM 启动新jar包
ssh root@8.130.164.63 sh /home/satisfactory/backend/run.sh start;

@REM 查看jar包运行状态
ssh root@8.130.164.63 sh /home/satisfactory/backend/run.sh status;
